﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DOAN.DLL;
using DOAN.Public;

namespace DOAN.BLL
{
    public class DangNhapBLL
    {
        DangNhapDAL _dangNhap;

        public DangNhapBLL()
        {
            _dangNhap = new DangNhapDAL();
        }

        public DataTable Load()
        {
            return _dangNhap.Load();
        }

        public int Insert(DangNhapPublic p)
        {

            return _dangNhap.Insert(p);
        }

        public int Update(DangNhapPublic p)
        {
            return _dangNhap.Update(p);
        }

        public int Delete(DangNhapPublic p)
        {
            return _dangNhap.Delete(p);
        }
    }
}
